package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface NursingProjectMapper {
    Page<NursingProjectVo> findByPage(String name, Integer status);

    void insert(NursingProject nursingProject);

    NursingProjectVo selectById(Integer id);

    void update(NursingProjectDto nursingProjectDto);

    void enableOrDisable(Integer id, Integer status);

    void delete(Integer id);
}